<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">
    <div class="row ">
        
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="expert_name" placeholder="专家姓名"> 
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="mobile" placeholder="联系电话"> 
        </div>     
        <div class="col-sm-2 col-sm-offset-6">
            <button class="btn btn-block btn-info" ng-click="search()">查询</button> 
        </div>
    </div>

</div>
</div>
</div>
<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-1 text-center">专家姓名</th>
                    <th class="col-md-2 text-center">所属领域</th>
                    <th class="col-md-1 text-center">联系电话</th>
                    <th class="col-md-1 text-center">专家状态</th>
                    <th class="col-md-1 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.expert_name}}</td>
                    <td class="text-center">{{obj.field_type}}</td>
                    <td class="text-center">{{obj.mobile}}</td>
                    <td class="text-center">{{obj.expert_state_name}}</td> 
                    <td class="text-center">
                        <a  class="btn btn-info btn-xs" ng-click="toinfo($index)">专家详情</a>
                        <a  class="btn btn-success btn-xs" ng-show="obj.expert_state_name == '待审核'" ng-click="naru($index)">纳入专家库</a>
                        <a  class="btn btn-danger btn-xs" ng-if="obj.expert_state_name == '待审核'" ng-click="jujue($index)">拒绝接纳</a>
                    </td>                    
                    <!-- <td class="text-center" ng-show="obj.expert_state=='草稿'">
                        <a  class="btn btn-info btn-xs" ng-click="toinfo($index)">专家详情</a>
                        <a  class="btn btn-info btn-xs" ng-click="naru($index)">纳入专家库</a>
                        <a  class="btn btn-info btn-xs" ng-click="jujue($index)">拒绝接纳</a>
                    </td>
                    <td class="text-center" ng-show="obj.expert_state=='待审核'">
                        <a  class="btn btn-info btn-xs" ng-click="toinfo($index)">专家详情</a>
                        <a  class="btn btn-warning btn-xs" ng-click="">已纳入专家库</a>                       
                    </td>
                    <td class="text-center" ng-show="obj.expert_state=='已入库'">
                        <a  class="btn btn-info btn-xs" ng-click="toinfo($index)">专家详情</a>
                        <a  class="btn btn-info btn-xs" ng-click="naru($index)">纳入专家库</a>
                        <a  class="btn btn-info btn-xs" ng-click="jujue($index)">拒绝接纳</a>                    
                    </td>
                    <td class="text-center" ng-show="obj.expert_state=='拒绝纳入专家库'">
                        <a  class="btn btn-info btn-xs" ng-click="toinfo($index)">专家详情</a>
                        <a  class="btn btn-danger btn-xs" ng-click="">该专家被拒绝纳入专家库</a>                       
                    </td> -->
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>
        